package com.example.rabbitdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("test")
@Builder
public class Test {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String topic;
    private String context;
    private String queue;
}
